Skip to content

v4.1.3#534

Merged
hiteshshetty-dev merged 33 commits intomainfrom
stage_v4
Dec 10, 2025
Merged

v4.1.3#534
hiteshshetty-dev merged 33 commits intomainfrom
stage_v4

Conversation

@hiteshshetty-dev
Copy link
Copy Markdown
Contributor

@hiteshshetty-dev hiteshshetty-dev commented Dec 5, 2025

General Changes

  • Migration from vitest: 2.x.x to vitest: 3.x.x (Karan Gandhi - #532)

New Features

  • feat: added resolved variants permission handling logic (csAyushDubey - 15c8f04)
  • feat: added variant order handling logic (csAyushDubey - 47a6f29)

Fixes

  • fix: handle invalid data-cslp attributes across multiple components to prevent errors (hiteshshetty-dev - ba91cb0)
  • fix: partial state clear when DOM is not visible during mutuation and resize checks (hiteshshetty-dev - 74e6e5b)
  • fix: handle empty data-cslp attributes in getEntryIdentifiersInCurrentPage function (hiteshshetty-dev - 34b7e42)
  • fix: added removal for class (csAyushDubey - f3d83b7)

Chores And Housekeeping

  • chore: add TODOs for overlay and toolbar position logic to consolidate with existing methods (hiteshshetty-dev - 48e6c69)

Changes to Test Assests

  • test: added test cases (csAyushDubey - 1ba0b65)
  • test: add additional header element to getEntryIdentifiersInCurrentPage test case (hiteshshetty-dev - b1da67e)

csAyushDubey and others added 30 commits August 26, 2025 10:23
@hiteshshetty-dev hiteshshetty-dev requested a review from a team as a code owner December 5, 2025 12:49
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 5, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 71.47% 7971 / 11152
🔵 Statements 71.47% 7971 / 11152
🔵 Functions 74.52% 316 / 424
🔵 Branches 85.3% 1190 / 1395
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/visualBuilder/index.ts 60.68% 66.66% 42.85% 60.68% 98-105, 108-112, 115-127, 130-203, 209-241, 249-271, 322-325, 328-329, 379-385
src/visualBuilder/visualBuilder.style.ts 100% 100% 100% 100%
src/visualBuilder/components/FieldToolbar.tsx 77.31% 74.46% 37.5% 77.31% 64-112, 136, 176, 211-228, 249-252, 275-284, 313-321, 329-330, 333-334, 386-392, 409-410, 474, 511, 592-599
src/visualBuilder/components/fieldLabelWrapper.tsx 76.16% 74.24% 72.72% 76.16% 48-50, 58-60, 144-157, 160-164, 183-212, 233, 237-253, 281-282, 286-291, 295, 360-362, 368-386
src/visualBuilder/eventManager/useRevalidateFieldDataPostMessageEvent.ts 100% 91.3% 80% 100%
src/visualBuilder/eventManager/useVariantsPostMessageEvent.ts 98.3% 90% 100% 98.3% 48-49
src/visualBuilder/generators/generateOverlay.tsx 91.04% 84% 100% 91.04% 131-140, 198-201, 226-229
src/visualBuilder/generators/generateToolbar.tsx 90.5% 86.66% 83.33% 90.5% 28-29, 92-97, 145-149, 192-193
src/visualBuilder/listeners/mouseClick.ts 75.25% 66.66% 90.9% 75.25% 88, 98-104, 109-110, 113-118, 131-159, 171-172, 185-186, 231, 290-296, 337-343, 361-371
src/visualBuilder/listeners/mouseHover.ts 64.65% 35.29% 52.38% 64.65% 49-56, 73-74, 125-135, 141-142, 149-152, 155-157, 163, 177-178, 189-205, 212-214, 216-259, 267-269, 271-273, 281-289, 292-295, 297-299, 314-318, 361-362, 382-383
src/visualBuilder/utils/constants.ts 100% 100% 100% 100%
src/visualBuilder/utils/fieldSchemaMap.ts 94.91% 100% 87.5% 94.91% 98-100
src/visualBuilder/utils/getCsDataOfElement.ts 100% 100% 100% 100%
src/visualBuilder/utils/getEntryIdentifiersInCurrentPage.ts 100% 100% 100% 100%
src/visualBuilder/utils/getResolvedVariantPermissions.ts 100% 100% 100% 100%
src/visualBuilder/utils/getVisualBuilderRedirectionUrl.ts 100% 100% 100% 100%
src/visualBuilder/utils/handleIndividualFields.ts 98.56% 85.71% 100% 98.56% 98-99
src/visualBuilder/utils/isFieldDisabled.ts 96.92% 94.11% 100% 96.92% 75-76, 129-130
src/visualBuilder/utils/updateFocussedState.ts 58.24% 64.4% 100% 58.24% 45, 57-59, 61-63, 65, 208-211, 213-244, 334-338, 341-358, 361-371, 374-391, 400-445, 452-474, 480-482
Generated in workflow #702 for commit c1ba6fd by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

@karancs06 karancs06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@csAyushDubey csAyushDubey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@hiteshshetty-dev hiteshshetty-dev merged commit 2635b07 into main Dec 10, 2025
15 checks passed
@hiteshshetty-dev hiteshshetty-dev deleted the stage_v4 branch December 10, 2025 10:45
@hiteshshetty-dev hiteshshetty-dev restored the stage_v4 branch January 6, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants